package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author : 李红磊
 * @Date : 2021/05/16/17:18
 * @Description :
 */
@Component
public class PaymentFallbackServiceImpl implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentHystrixService,paymentInfo_OK,fallbacko(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TIMEOUT(Integer id) {
        return "PaymentHystrixService,paymentInfo_TIMEOUT,fallbacko(╥﹏╥)o";
    }
}
